#include <2025Linux.h>
int main()
{
    int ret = mkdir("dir1",0777);
    ERROR_CHECK(ret,-1,"mkdir 1");
    ret = chdir("dir1");
    ERROR_CHECK(ret,-1,"chdir 1");
    ret = mkdir("dir2",0777);
    ERROR_CHECK(ret,-1,"mkdir 2");//报错以后方便知道是哪个mkdir
    ret = chdir("dir2");
    ERROR_CHECK(ret,-1,"chdir 2");
    ret = mkdir("dir3",0777);
    ERROR_CHECK(ret,-1,"mkdir 3");
    return 0;
}

